#include <REGX52.H>
#include "LCD1602.h"
#include "delay.h"

int main()
{
	LCD_Init();
//	LCD_ShowChar(1,1,'A');
//	LCD_ShowSignedNum(1,3,-369,4);
//	LCD_ShowSignedNum(2,8,369,4);
//	LCD_ShowHexNum(2,1,0xfc,2);
//	LCD_ShowBinNum(2,1,3,16);
//	LCD_ShowChar(2,16,'B');
//	LCD_ShowString(2,1,"absdfsdk");
	LCD_ShowBinNum(1,1,0xaa,8);
	LCD_ShowBinNum(1,17,0xaa,8);
	LCD_ShowBinNum(2,1,0xaa,8);
	LCD_ShowBinNum(2,17,0xaa,8);
	while(1)
	{
		LCD_WriteCommand(0x18);//写入命令指令;
		Delay(1000);
	}
	return 0;
}